package link.wangkui;

import com.sun.jna.Platform;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
        String testUrl = "http://igb.hsa.gdgov.cn/gdyb_inf/poc/api/card/initDll";
        String prodUrl ="http://igb.hsa.gdgov.cn/gdyb_api/prd/api/card/initDll";
//        String puser= "440700";
        String puser= "441300";
        long l=SSCardDll.sscardDll.Init(testUrl,puser);
        System.out.println(l);
        System.out.println(Platform.isWindows());
        String pOutBuff="";
        String pSignBuff="";
        long result=SSCardDll.sscardDll.ReadCardBas(pOutBuff,1024,pSignBuff,1024);
        System.out.println("result:"+result);
        System.out.println(pOutBuff);
        System.out.println(pSignBuff);
    }
}
